package com.hc.util;

public class Constant {
    public static final String AUTTH_HEADER_NAME = "authenticator";
    public static final int ILLEGAL_TOKEN_CODE = 50001;
    public static final int NOT_LOGGED_IN = 50002;
    public static final int TOKEN_EXPIRED = 50003;
    //jwt过期时间
    public static final long JWT_EXPIRE_TIME_MILLIS = 1000 * 60 ;
    //超时的key,超时时间小于此值的key会被刷新
    public static final long REFRESH_THRESHOLD_MILLIS = 1000 * 30 ;

    public static final int REFRESH_TOKEN = 40001;
}

